package com.rahms.common.handler;

public class ApiException extends RuntimeException {
    private int code = 0;

    public ApiException(String message) {
        super(message);
    }

    public ApiException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}


